Release 10.1A: OpenEdge Development:
Messaging and ESB


getMessagePartByIndex function

Retrieves a handle to the message part corresponding to the index.

Syntax

FUNCTION getMessagePartByIndex RETURNS CHARACTER 
  (INPUT index AS INTEGER, OUTPUT messagePartH AS HANDLE). 

Applies to

Message objects

Note

When you use the same handle variable to retrieve multiple message parts, between retrievals, call the deleteMessage procedure on the handle variable to free the message part.

See also

createMultipartMessage procedure, addBytesPart procedure, addMessagePart procedure, addTextPart procedure, isMessagePart function, getPartCount function, getMessagePartByID function, getMessagePartByIndex function, writeBytesFromRaw procedure, readBytesToRaw procedure, setMemptr procedure, getMEMPTR function

For more information, see the "MultipartMessage" section and the "MultiPartMessage example" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095